package com.liuceng.zen.lib.gdt.vo;

import lombok.Data;

@Data
public class GdtResult<T> {
  public static final Integer RET_OK = 0;

  private Integer ret;
  private String msg;
  private T data;

  public GdtResult() {}

  public GdtResult(Integer ret, String msg) {
    this.ret = ret;
    this.msg = msg;
  }

  public GdtResult(Integer ret, String msg, T data) {
    this(ret, msg);
    this.data = data;
  }
}
